﻿using System;
namespace YXShop.Model.Product
{
    /// <summary>
    /// 实体类ProductInfo 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class ProductInfo
    {
       
        #region "member variant"
        private int _pro_id;
        private string _pro_class_name;
        private string _pro_property=string.Empty;
        private string _pro_cid;
        private int? _pro_brandid;
        private string _pro_name;
        private string _pro_no;
        private string _pro_keyword;
        private decimal? _pro_shopprice;
        private decimal? _pro_marketprice;
        private string _pro_ratingdiscount;
        private decimal? _pro_epoints;
        private decimal? _pro_donateintegral;
        private string _pro_thumbnail;
        private string _pro_images;
        private string _pro_original;
        private string _pro_synopsis;
        private string _pro_content;
        private string _pro_metakeywords;
        private string _pro_metadescription;
        private string _pro_metatitle;
        private decimal? _pro_weight;
        private int? _pro_weightunit;
        private int? _pro_stock;
        private string _pro_unit;
        private int? _pro_alarm;
        private int? _pro_auditcount;
        private int? _pro_audit;
        private string _pro_state;
        private string _pro_designation;
        private string _pro_relatingproid;
        private string _pro_relatingartid;
        private DateTime? _pro_createtime;
        private DateTime? _pro_updatetime;
        private int? _pro_onclicks=0;
        private int? _pro_isallowcomment;
        private int _pro_salenum;
        private decimal? _pro_costprice;
        private DateTime? _pro_autoup;
        private DateTime? _pro_autodown;
        private int? _pro_isauto;
        private int? _pro_saletype;
        private decimal? _pro_integralprice;
        private string _pro_area;
        private int? _pro_putoutid;
        private int? _pro_putouttype;
        private string _pro_templates;
        private string _pro_contenttemplate="";
        private string _pro_specifications=string.Empty;
        private string _pro_parameters = string.Empty;
        private int _pro_type;
        private string _pro_Specialspecifications = string.Empty;
        #endregion

        #region "Constructor"
        public ProductInfo()
        { }
        #endregion

        #region "Property"

        public string pro_ContentTemplate
        {
            set { _pro_contenttemplate = value; }
            get { return _pro_contenttemplate; }
        }

        public string pro_Templates
        {
            set { _pro_templates = value;}
            get {return _pro_templates;}
        }


        /// <summary>
        /// 与数据库基本列pro_ID相对应的公共属性, Caption:id
        /// </summary>
        public int pro_ID
        {
            set { _pro_id = value; }
            get { return _pro_id; }
        }

        /// <summary>
        /// 与数据库基本列ProClassName相对应的公共属性, Caption:商品分类名称
        /// </summary>
        public string ProClassName
        {
            set { _pro_class_name = value; }
            get { return _pro_class_name; }
        }
        /// <summary>
        /// 与数据库基本列pro_Property相对应的公共属性, Caption:扩展属性值
        /// </summary>
        public string pro_Property
        {
            set { _pro_property = value; }
            get { return _pro_property; }
        }
        /// <summary>
        /// 与数据库基本列pro_CID相对应的公共属性, Caption:商品分类ID
        /// </summary>
        public string pro_CID
        {
            set { _pro_cid = value; }
            get { return _pro_cid; }
        }
        /// <summary>
        /// 与数据库基本列pro_BrandID相对应的公共属性, Caption:商品品牌ID
        /// </summary>
        public int? pro_BrandID
        {
            set { _pro_brandid = value; }
            get { return _pro_brandid; }
        }
        /// <summary>
        /// 与数据库基本列pro_Name相对应的公共属性, Caption:商品名称
        /// </summary>
        public string pro_Name
        {
            set { _pro_name = value; }
            get { return _pro_name; }
        }
        
        /// <summary>
        /// 与数据库基本列pro_NO相对应的公共属性, Caption:商品编号
        /// </summary>
        public string pro_NO
        {
            set { _pro_no = value; }
            get { return _pro_no; }
        }
        /// <summary>
        /// 与数据库基本列pro_KeyWord相对应的公共属性, Caption:商品关键字
        /// </summary>
        public string pro_KeyWord
        {
            set { _pro_keyword = value; }
            get { return _pro_keyword; }
        }
        /// <summary>
        /// 与数据库基本列pro_ShopPrice相对应的公共属性, Caption:商城价
        /// </summary>
        public decimal? pro_ShopPrice
        {
            set { _pro_shopprice = value; }
            get { return _pro_shopprice; }
        }
        /// <summary>
        /// 与数据库基本列pro_MarketPrice相对应的公共属性, Caption:市场价
        /// </summary>
        public decimal? pro_MarketPrice
        {
            set { _pro_marketprice = value; }
            get { return _pro_marketprice; }
        }
        /// <summary>
        /// 与数据库基本列pro_RatingDiscount相对应的公共属性, Caption:等级折扣列表数组
        /// </summary>
        public string pro_RatingDiscount
        {
            set { _pro_ratingdiscount = value; }
            get { return _pro_ratingdiscount; }
        }
        /// <summary>
        /// 与数据库基本列pro_EPoints相对应的公共属性, Caption:点券数
        /// </summary>
        public decimal? pro_EPoints
        {
            set { _pro_epoints = value; }
            get { return _pro_epoints; }
        }
        /// <summary>
        /// 与数据库基本列pro_DonateIntegral相对应的公共属性, Caption:赠送积分
        /// </summary>
        public decimal? pro_DonateIntegral
        {
            set { _pro_donateintegral = value; }
            get { return _pro_donateintegral; }
        }
        /// <summary>
        /// 与数据库基本列pro_Thumbnail相对应的公共属性, Caption:缩略图
        /// </summary>
        public string pro_Thumbnail
        {
            set { _pro_thumbnail = value; }
            get { return _pro_thumbnail; }
        }
        /// <summary>
        /// 与数据库基本列pro_Images相对应的公共属性, Caption:原图缩略图
        /// </summary>
        public string pro_Images
        {
            set { _pro_images = value; }
            get { return _pro_images; }
        }
        /// <summary>
        /// 与数据库基本列pro_Original相对应的公共属性, Caption:原图
        /// </summary>
        public string pro_Original
        {
            set { _pro_original = value; }
            get { return _pro_original; }
        }
        /// <summary>
        /// 与数据库基本列pro_Synopsis相对应的公共属性, Caption:商品简介
        /// </summary>
        public string pro_Synopsis
        {
            set { _pro_synopsis = value; }
            get { return _pro_synopsis; }
        }
        /// <summary>
        /// 与数据库基本列pro_Content相对应的公共属性, Caption:详细内容
        /// </summary>
        public string pro_Content
        {
            set { _pro_content = value; }
            get { return _pro_content; }
        }
        /// <summary>
        /// 与数据库基本列pro_MetaKeywords相对应的公共属性, Caption:优化关键字
        /// </summary>
        public string pro_MetaKeywords
        {
            set { _pro_metakeywords = value; }
            get { return _pro_metakeywords; }
        }
        /// <summary>
        /// 与数据库基本列pro_MetaDescription相对应的公共属性, Caption:优化描述
        /// </summary>
        public string pro_MetaDescription
        {
            set { _pro_metadescription = value; }
            get { return _pro_metadescription; }
        }
        /// <summary>
        /// 与数据库基本列pro_MetaTitle相对应的公共属性, Caption:优化标题
        /// </summary>
        public string pro_MetaTitle
        {
            set { _pro_metatitle = value; }
            get { return _pro_metatitle; }
        }
        /// <summary>
        /// 与数据库基本列pro_Weight相对应的公共属性, Caption:重量
        /// </summary>
        public decimal? pro_Weight
        {
            set { _pro_weight = value; }
            get { return _pro_weight; }
        }
        /// <summary>
        /// 与数据库基本列pro_WeightUnit相对应的公共属性, Caption:重量单位
        /// </summary>
        public int? pro_WeightUnit
        {
            set { _pro_weightunit = value; }
            get { return _pro_weightunit; }
        }
        /// <summary>
        /// 与数据库基本列pro_Stock相对应的公共属性, Caption:库存
        /// </summary>
        public int? pro_Stock
        {
            set { _pro_stock = value; }
            get { return _pro_stock; }
        }
        /// <summary>
        /// 与数据库基本列pro_Unit相对应的公共属性, Caption:单
        /// </summary>
        public string pro_Unit
        {
            set { _pro_unit = value; }
            get { return _pro_unit; }
        }
        /// <summary>
        /// 与数据库基本列pro_Alarm相对应的公共属性, Caption:报警数
        /// </summary>
        public int? pro_Alarm
        {
            set { _pro_alarm = value; }
            get { return _pro_alarm; }
        }
        /// <summary>
        /// 与数据库基本列pro_AuditCount相对应的公共属性, Caption:上架数量
        /// </summary>
        public int? pro_AuditCount
        {
            set { _pro_auditcount = value; }
            get { return _pro_auditcount; }
        }
        /// <summary>
        /// 与数据库基本列pro_Audit相对应的公共属性, Caption:上架状态
        /// </summary>
        public int? pro_Audit
        {
            set { _pro_audit = value; }
            get { return _pro_audit; }
        }
        /// <summary>
        ///  与数据库基本列pro_State相对应的公共属性, Caption:商品状态（推荐|热卖|特价|活动专区|最新商品|首页显示）
        /// </summary>
        public string pro_State
        {
            set { _pro_state = value; }
            get { return _pro_state; }
        }
        /// <summary>
        /// 与数据库基本列pro_Designation相对应的公共属性, Caption:商品标示
        /// </summary>
        public string pro_Designation
        {
            set { _pro_designation = value; }
            get { return _pro_designation; }
        }
        /// <summary>
        /// 与数据库基本列pro_RelatingproID相对应的公共属性, Caption:相关商品ID
        /// </summary>
        public string pro_RelatingproID
        {
            set { _pro_relatingproid = value; }
            get { return _pro_relatingproid; }
        }
        /// <summary>
        /// 与数据库基本列pro_RelatingproID相对应的公共属性, Caption:相关文章ID
        /// </summary>
        public string pro_RelatingArtID
        {
            set { _pro_relatingartid = value; }
            get { return _pro_relatingartid; }
        }
        /// <summary>
        /// 与数据库基本列pro_CreateTime相对应的公共属性, Caption:添加时间
        /// </summary>
        public DateTime? pro_CreateTime
        {
            set { _pro_createtime = value; }
            get { return _pro_createtime; }
        }
        /// <summary>
        /// 与数据库基本列pro_UpdateTime相对应的公共属性, Caption:修改时间
        /// </summary>
        public DateTime? pro_UpdateTime
        {
            set { _pro_updatetime = value; }
            get { return _pro_updatetime; }
        }
        /// <summary>
        /// 与数据库基本列pro_OnClicks相对应的公共属性, Caption:访问数
        /// </summary>
        public int? pro_OnClicks
        {
            set { _pro_onclicks = value; }
            get { return _pro_onclicks; }
        }
        /// <summary>
        /// 与数据库基本列pro_IsAllowComment相对应的公共属性, Caption:是否评论
        /// </summary>
        public int? pro_IsAllowComment
        {
            set { _pro_isallowcomment = value; }
            get { return _pro_isallowcomment; }
        }
        /// <summary>
        /// 与数据库基本列pro_SaleNum相对应的公共属性, Caption:已出售数量
        /// </summary>
        public int pro_SaleNum
        {
            set { _pro_salenum = value; }
            get { return _pro_salenum; }
        }
        /// <summary>
        ///  与数据库基本列pro_CostPrice相对应的公共属性, Caption:成本价
        /// </summary>
        public decimal? pro_CostPrice
        {
            set { _pro_costprice = value; }
            get { return _pro_costprice; }
        }
        /// <summary>
        /// 与数据库基本列pro_AutoUp相对应的公共属性, Caption:上架时间
        /// </summary>
        public DateTime? pro_AutoUp
        {
            set { _pro_autoup = value; }
            get { return _pro_autoup; }
        }
        /// <summary>
        /// 与数据库基本列pro_AutoDown相对应的公共属性, Caption:下架时间
        /// </summary>
        public DateTime? pro_AutoDown
        {
            set { _pro_autodown = value; }
            get { return _pro_autodown; }
        }
        /// <summary>
        /// 与数据库基本列pro_IsAuto相对应的公共属性, Caption:是否自动上下架
        /// </summary>
        public int? pro_IsAuto
        {
            set { _pro_isauto = value; }
            get { return _pro_isauto; }
        }
        /// <summary>
        /// 与数据库基本列pro_SaleType相对应的公共属性, Caption:商品出售方式
        /// </summary>
        public int? pro_SaleType
        {
            set { _pro_saletype = value; }
            get { return _pro_saletype; }
        }
        /// <summary>
        /// 与数据库基本列pro_IntegralPrice相对应的公共属性, Caption:当该商品可以使用积分购买时的积分价格，即购买该商品需要支付的积分数
        /// </summary>
        public decimal? pro_IntegralPrice
        {
            set { _pro_integralprice = value; }
            get { return _pro_integralprice; }
        }
        /// <summary>
        /// 与数据库基本列pro_Area相对应的公共属性, Caption:商品区域
        /// </summary>
        public string pro_Area
        {
            set { _pro_area = value; }
            get { return _pro_area; }
        }
        /// <summary>
        /// 与数据库基本列pro_PutoutID相对应的公共属性, Caption:发布人ID
        /// </summary>
        public int? pro_PutoutID
        {
            set { _pro_putoutid = value; }
            get { return _pro_putoutid; }
        }
        /// <summary>
        /// 与数据库基本列pro_PutoutType相对应的公共属性, Caption:发布人类型
        /// </summary>
        public int? pro_PutoutType
        {
            set { _pro_putouttype = value; }
            get { return _pro_putouttype; }
        }
        /// <summary>
        /// 与数据库基本列pro_Specifications相对应的公共属性, Caption:商品规格
        /// </summary>
        public string pro_Specifications
        {
            set { _pro_specifications = value; }
            get { return _pro_specifications; }
        }
        /// <summary>
        /// 与数据库基本列pro_Parameters相对应的公共属性, Caption:商品参数
        /// </summary>
        public string pro_Parameters
        {
            set { _pro_parameters = value; }
            get { return _pro_parameters; }
        }
        /// <summary>
        /// 与数据库基本列pro_Type相对应的公共属性, Caption:商品类型
        /// </summary>
        public int pro_Type
        {
            set { _pro_type = value; }
            get { return _pro_type; }
        }
        /// <summary>
        /// 与数据库基本列pro_Specialspecifications相对应的公共属性, Caption:商品类型
        /// </summary>
        public string pro_Specialspecifications
        {
            set { _pro_Specialspecifications = value; }
            get { return _pro_Specialspecifications; }
        }
        #endregion

    }
}

